package com.jwater.core.manager.master.event;

/**
 * @description:
 * @author: jnner
 * @createDate: 2021/3/22
 * @version: 1.0
 */
public class ProxyReportInfoEvent extends GroupEvent {
    private byte[] data;

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    @Override
    public String getType() {
        return GroupEvent.TYPE_PROXY_REPORT;
    }

    @Override
    public byte[] serialize() {
        return data;
    }

    @Override
    public ProxyReportInfoEvent deserialize(byte[] data) {
        this.data = data;
        return this;
    }
}
